package com.jf.blog.service;

import com.jf.blog.bean.Userinfo;
import com.jf.blog.form.comment.CommentForm;
import com.jf.blog.util.ResultJson;

public interface ApiService {
    Userinfo checkPath(String path);

    ResultJson getBlogPage(int page);

    ResultJson getVipInfo();

    ResultJson blogDetail(int blogId);

    ResultJson getCommentPage(int page, int blogId);

    void saveComment(CommentForm form);

    ResultJson getTagList();

    ResultJson getBlogByTagId(int page, Integer tageId);

    ResultJson getCategoryList();

    ResultJson getBlogByCategoryId(int page, Integer categoryId);

    void updateReadCount(int blogId);

    ResultJson getBlogPageByYear(int page, String year);

    ResultJson getTimeline(Integer createUser);
}
